TQAEngineGestalt
A drawing engine must define a method to return information about its capabilities.
typedef TQAError (*TQAEngineGestalt) ( TQAGestaltSelector selector, void *response);
selector
- A selector that determines what kind of information is to be returned about your drawing engine. See "Gestalt Selectors" (page 1-57) for complete information about the available selectors and the information you should return.
response
- A pointer to a buffer into which the returned information is to be copied. The calling application is responsible for allocating this buffer. The size and meaning of the data to be copied depends on the selector passed in the
selector
parameter.DESCRIPTION
YourTQAEngineGestalt
function is called whenever an application callsQAEngineGestalt
. Your function should return, in the buffer pointed to by theresponse
parameter, information about features of the type specified by theselector
parameter.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help